#include <stdio.h>
int main(){
    int result1 = 0;
    int result2 = 0;
    int result3 = 0;
    int max = 0;
    scanf("%d %d %d",&result1,&result2,&result3);
    max = result1 >= result2 ? result1 : result2;
    max = result3 >= max ? result3 : max;
    printf("%d\n",max);
    return 0;
}
